##[group]Deploy identity,search,webhooks,security
node scripts/deploy.mjs deploy --only "identity,search,webhooks,security" --force --no-migrations --concurrency 2
##[endgroup]
shell: bash -e /home/runner/_temp/18d8bef5ec3befbf.sh
Deploying fe7d2329374f (Merge empty successes across services: Ok(None) and Ok(()) read back as themselves, so every cache miss is a miss and not a 500, and toolkit failures say why)

unit      stage  action  live          migrations  why
--------  -----  ------  ------------  ----------  ----------------------------------------------------------------------
identity  core   deploy  4bc468182b74  -           2 changed files (crates/contracts/src/outcome.rs via crates/contracts)
search    core   deploy  4bc468182b74  -           2 changed files (crates/contracts/src/outcome.rs via crates/contracts)
webhooks  core   deploy  4bc468182b74  -           2 changed files (crates/contracts/src/outcome.rs via crates/contracts)
security  core   deploy  2eb8556f2a7d  -           2 changed files (crates/contracts/src/outcome.rs via crates/contracts)

4 to deploy: core (identity, search, webhooks, security)
== core: identity, search, webhooks, security
[identity]  ⛅️ wrangler 4.146.0
[identity] ────────────────────
[identity] [custom build] Running: node ../../scripts/build-rust-worker.mjs
[search]  ⛅️ wrangler 4.146.0
[search] ────────────────────
[search] [custom build] Running: node ../../scripts/build-rust-worker.mjs
[search] [custom build] [INFO]: Checking for the Wasm target...
[search] [custom build] 
[identity] [custom build] [INFO]: Checking for the Wasm target...
[identity] [custom build] 
[identity] [custom build] [INFO]: Compiling to Wasm...
[identity] [custom build] 
[search] [custom build] [INFO]: Compiling to Wasm...
[search] [custom build] 
[search] [custom build]     Blocking waiting for file lock on package cache
[search] [custom build] 
[identity] [custom build]     Blocking waiting for file lock on package cache
[identity] [custom build] 
[search] [custom build]     Blocking waiting for file lock on package cache
[search] [custom build] 
[identity] [custom build]     Blocking waiting for file lock on package cache
[identity] [custom build] 
[search] [custom build]     Blocking waiting for file lock on package cache
[search] [custom build] 
[identity] [custom build]     Blocking waiting for file lock on package cache
[identity] [custom build] 
[identity] [custom build]     Blocking waiting for file lock on build directory
[identity] [custom build] 
[search] [custom build]    Compiling g1t-contracts v0.1.0 (/home/runner/work/repo/crates/contracts)
[search] [custom build] 
[search] [custom build]    Compiling g1t-kit v0.1.0 (/home/runner/work/repo/crates/kit)
[search] [custom build] 
[search] [custom build]    Compiling g1t-search v0.1.0 (/home/runner/work/repo/services/search)
[search] [custom build] 
[search] [custom build]     Finished `release` profile [optimized] target(s) in 38.16s
[search] [custom build] 
[identity] [custom build]    Compiling g1t-secrets v0.1.0 (/home/runner/work/repo/crates/secrets)
[identity] [custom build] 
[identity] [custom build]    Compiling g1t-identity v0.1.0 (/home/runner/work/repo/services/identity)
[identity] [custom build] 
[search] [custom build] [INFO]: Optimizing wasm binaries with `wasm-opt`...
[search] [custom build] 
[search] [custom build] [INFO]: :-)Done in 39.38s
[search] [custom build] [INFO]: :-) Your wasm pkg is ready to publish at /home/runner/work/repo/services/search/build/.tmp.
[search] [custom build] 
[search] [custom build] 
[search] [custom build]   index.js  26.7kb
[search] [custom build] 
[search] [custom build] ⚡ Done in 8ms
[search] [custom build] 
[search] Total Upload: 1650.22 KiB / gzip: 387.37 KiB
[search] Worker Startup Time: 7 ms
[search] Your Worker has access to the following bindings:
[search] Binding                          Resource         
[search] env.JOBS (inherited)             Queue            
[search] env.DB (g1t-search)              D1 Database      
[search] env.IDENTITY (g1t-identity)      Worker           
[search] env.REPOS (g1t-repos)            Worker           
[search] env.WORK (g1t-work)              Worker           
[search] env.BILLING (g1t-billing)        Worker           
[search] Uploaded g1t-search (1.82 sec)
[search] Deployed g1t-search triggers (0.89 sec)
[search]   Producer for g1t-search-jobs
[search]   Consumer for g1t-events-search
[search]   Consumer for g1t-search-jobs
[search] Current Version ID: d554261b-dcf8-49da-82c0-aeb23a6e0c0b
[webhooks]  ⛅️ wrangler 4.146.0 (update available 4.149.0)
[webhooks] ───────────────────────────────────────────────
[webhooks] [custom build] Running: node ../../scripts/build-rust-worker.mjs
[webhooks] [custom build] [INFO]: Checking for the Wasm target...
[webhooks] [custom build] 
[webhooks] [custom build] [INFO]: Compiling to Wasm...
[webhooks] [custom build] 
[webhooks] [custom build]     Blocking waiting for file lock on build directory
[webhooks] [custom build] 
[identity] [custom build]     Finished `release` profile [optimized] target(s) in 56.95s
[identity] [custom build] 
[webhooks] [custom build]    Compiling g1t-webhooks v0.1.0 (/home/runner/work/repo/services/webhooks)
[webhooks] [custom build] 
[identity] [custom build] [INFO]: Optimizing wasm binaries with `wasm-opt`...
[identity] [custom build] 
[identity] [custom build] [INFO]: :-)Done in 1m 01s
[identity] [custom build] [INFO]: :-) Your wasm pkg is ready to publish at /home/runner/work/repo/services/identity/build/.tmp.
[identity] [custom build] 
[identity] [custom build] 
[identity] [custom build]   index.js  27.7kb
[identity] [custom build] 
[identity] [custom build] ⚡ Done in 14ms
[identity] [custom build] 
[webhooks] [custom build]     Finished `release` profile [optimized] target(s) in 17.54s
[webhooks] [custom build] 
[webhooks] [custom build] [INFO]: Optimizing wasm binaries with `wasm-opt`...
[webhooks] [custom build] 
[webhooks] [custom build] [INFO]: :-)Done in 18.21s
[webhooks] [custom build] [INFO]: :-) Your wasm pkg is ready to publish at /home/runner/work/repo/services/webhooks/build/.tmp.
[webhooks] [custom build] 
[webhooks] [custom build] 
[webhooks] [custom build]   index.js  27.6kb
[webhooks] [custom build] 
[webhooks] [custom build] ⚡ Done in 6ms
[webhooks] [custom build] 
[identity] Total Upload: 4499.88 KiB / gzip: 1078.71 KiB
[webhooks] Total Upload: 1043.71 KiB / gzip: 261.67 KiB
[identity] Worker Startup Time: 9 ms
[identity] Your Worker has access to the following bindings:
[identity] Binding                                                             Resource                  
[identity] env.AVATARS (e627b571f07047e187c03e1fc2b3bbdd)                      KV Namespace              
[identity] env.EMAIL (unrestricted)                                            Send Email                
[identity] env.DB (g1t)                                                        D1 Database               
[identity] env.EVENTS (g1t-events)                                             Worker                    
[identity] env.REPOS (g1t-repos)                                               Worker                    
[identity] env.PROJECTS (g1t-projects)                                         Worker                    
[identity] env.BILLING (g1t-billing)                                           Worker                    
[identity] env.PROTECTED_WORKSPACES ("flagon-io")                              Environment Variable      
[identity] env.PROTECTED_ACCOUNTS ("")                                         Environment Variable      
[identity] env.GITHUB_APP_CLIENT_ID ("Iv23liZS94alfjIUn1eW")                   Environment Variable      
[identity] env.REGISTRATION_MODE ("invite")                                    Environment Variable      
[identity] env.INVITES_PER_USER ("5")                                          Environment Variable      
[identity] env.INVITE_TTL_DAYS ("30")                                          Environment Variable      
[identity] env.INVITE_STAFF_WORKSPACES ("flagon-io")                           Environment Variable      
[identity] env.WAITLIST_NOTIFY_EMAIL ("hey@flagon.io")                         Environment Variable      
[identity] Uploaded g1t-identity (2.16 sec)
[identity] Deployed g1t-identity triggers (0.49 sec)
[identity]   schedule: */15 * * * *
[identity] Current Version ID: 9923b091-d7d3-437f-aebe-60d1a4d8d101
[webhooks] Worker Startup Time: 5 ms
[webhooks] Your Worker has access to the following bindings:
[webhooks] Binding                          Resource         
[webhooks] env.DB (g1t-webhooks)            D1 Database      
[webhooks] env.REPOS (g1t-repos)            Worker           
[webhooks] env.IDENTITY (g1t-identity)      Worker           
[webhooks] Uploaded g1t-webhooks (1.69 sec)
[security]  ⛅️ wrangler 4.146.0 (update available 4.149.0)
[security] ───────────────────────────────────────────────
[security] [custom build] Running: node ../../scripts/build-rust-worker.mjs
[webhooks] Deployed g1t-webhooks triggers (0.74 sec)
[webhooks]   schedule: * * * * *
[webhooks]   schedule: 37 * * * *
[webhooks]   Consumer for g1t-events-webhooks
[webhooks] Current Version ID: fede02ea-44f2-496e-8d7a-a4bca42c0dd6
[security] [custom build] [INFO]: Checking for the Wasm target...
[security] [custom build] 
[security] [custom build] [INFO]: Compiling to Wasm...
[security] [custom build] 
[security] [custom build]    Compiling g1t-contracts v0.1.0 (/home/runner/work/repo/crates/contracts)
[security] [custom build] 
[security] [custom build]    Compiling g1t-scan v0.1.0 (/home/runner/work/repo/crates/scan)
[security] [custom build]    Compiling g1t-actions v0.1.0 (/home/runner/work/repo/crates/actions)
[security] [custom build] 
[security] [custom build]    Compiling g1t-kit v0.1.0 (/home/runner/work/repo/crates/kit)
[security] [custom build] 
[security] [custom build]    Compiling g1t-security v0.1.0 (/home/runner/work/repo/services/security)
[security] [custom build] 
[security] [custom build]     Finished `release` profile [optimized] target(s) in 47.43s
[security] [custom build] 
[security] [custom build] [INFO]: Optimizing wasm binaries with `wasm-opt`...
[security] [custom build] 
[security] [custom build] [INFO]: :-)Done in 50.87s
[security] [custom build] [INFO]: :-) Your wasm pkg is ready to publish at /home/runner/work/repo/services/security/build/.tmp.
[security] [custom build] 
[security] [custom build] 
[security] [custom build]   index.js  27.4kb
[security] [custom build] 
[security] [custom build] ⚡ Done in 6ms
[security] [custom build] 
[security] Total Upload: 5626.85 KiB / gzip: 1439.97 KiB
[security] Worker Startup Time: 9 ms
[security] Your Worker has access to the following bindings:
[security] Binding                              Resource                  
[security] env.DB (g1t-security)                D1 Database               
[security] env.IDENTITY (g1t-identity)          Worker                    
[security] env.REPOS (g1t-repos)                Worker                    
[security] env.WORK (g1t-work)                  Worker                    
[security] env.RUNNER (g1t-runner)              Worker                    
[security] env.BILLING (g1t-billing)            Worker                    
[security] env.ACTIONS (g1t-actions)            Worker                    
[security] env.EVENTS (g1t-events)              Worker                    
[security] env.SITE_URL ("https://g1t.sh")      Environment Variable      
[security] Uploaded g1t-security (2.36 sec)
[security] Deployed g1t-security triggers (1.02 sec)
[security]   schedule: */30 * * * *
[security]   schedule: */5 * * * *
[security]   Consumer for g1t-events-security
[security] Current Version ID: 96d6c270-f0b9-41ef-8e32-d6cf32f533b0

unit      stage  result  version                               time   note
--------  -----  ------  ------------------------------------  -----  ----
identity  core   ok      9923b091-d7d3-437f-aebe-60d1a4d8d101  76.8s
search    core   ok      d554261b-dcf8-49da-82c0-aeb23a6e0c0b  54.9s
webhooks  core   ok      fede02ea-44f2-496e-8d7a-a4bca42c0dd6  23.0s
security  core   ok      96d6c270-f0b9-41ef-8e32-d6cf32f533b0  56.0s

Deployed in 133.8s.
